import Layout from '@/layout/index'

export default {
    //首页管理
    path: '/authority',
    meta: {
        title: '权限管理'
    },
    name: 'Authority',
    component: Layout,
    children: [
        {
            //菜单管理
            path: 'menuManage',
            name: 'MenuManage',
            meta: {
                title: '菜单管理'
            },
            component: () => import('@/views/authority/menuManage/index'),
        },
        {
            //角色管理
            path: 'roleManage',
            name: 'RoleManage',
            meta: {
                title: '角色管理'
            },
            component: () => import('@/views/authority/roleManage/index'),
        },
        {
            //员工管理
            path: 'staffManage',
            name: 'StaffManage',
            meta: {
                title: '员工管理'
            },
            component: () => import('@/views/authority/staffManage/index'),
        },
    ]
}
